import request from '@/utils/request';

// 提前批
export function batchInfo(data) {
  return request({
    url: '/index/batchLineInfo',
    method: 'post',
    data: data,
  });
}
// 获取院校筛选条件
export function searchSchoolFilter(data) {
  return request({
    url: '/index/searchSchoolFilter',
    method: 'post',
    data: data,
  });
}
// 查大学
export function searchSchool(data) {
  return request({
    url: '/index/searchSchool',
    method: 'post',
    data: data,
  });
}
// 获取专业列表
export function allMajor(data) {
  return request({
    url: '/index/allMajor',
    method: 'post',
    data: data,
  });
}
// 查专业
export function searchMajor(data) {
  return request({
    url: '/index/searchMajor',
    method: 'post',
    data: data,
  });
}
// 获取职业列表
export function allCareer(data) {
  return request({
    url: '/index/allCareer',
    method: 'post',
    data: data,
  });
}
// 查职业
export function searchCareer(data) {
  return request({
    url: '/index/searchCareer',
    method: 'post',
    data: data,
  });
}
// 智能填报
export function schoolEnrollChance(data) {
  return request({
    url: '/index/schoolEnrollChance',
    method: 'post',
    data: data,
  });
}
// 保存志愿表
export function zySave(data) {
  return request({
    url: '/index/zySave',
    method: 'post',
    data: data,
  });
}
// 获取志愿表
export function zyList(data) {
  return request({
    url: '/index/zyList',
    method: 'post',
    data: data,
  });
}
// 获取志愿表
export function getZyInfo(data) {
  return request({
    url: '/index/zyInfo',
    method: 'post',
    data: data,
  });
}
// 分享志愿表
export function shareZY(data) {
  return request({
    url: '/index/shareZY',
    method: 'post',
    data: data,
  });
}
